Skip to content

Add init_runtime_native_unified credential provider with backwards compatibility#1380

Merged
hectorcast-db merged 2 commits intomainfrom
stack/runtime-native-unified
Apr 9, 2026
Merged

Add init_runtime_native_unified credential provider with backwards compatibility#1380
hectorcast-db merged 2 commits intomainfrom
stack/runtime-native-unified

Conversation

@hectorcast-db
Copy link
Copy Markdown
Contributor

@hectorcast-db hectorcast-db commented Apr 2, 2026

What are we changing

Introduces a new unified runtime auth provider that returns (host, account_id, workspace_id, inner) instead of (host, inner). Falls back to the existing providers when the new import is unavailable or returns None.

How is this tested?

  • New unit tests
  • Run existing runtime integration tests.
    NOTE: The new interface cannot be tested with integration tests until Runtime adds support, but the SDK needs support before Runtime. So it is a chicken and egg problem. Existing integration tests validate that we are not breaking existing users by falling back to the previous auth system.

…mpatibility

Introduces a new unified runtime auth provider that returns (host, account_id,
workspace_id, inner) instead of (host, inner). Falls back to the existing
providers when the new import is unavailable or returns None.

Co-authored-by: Isaac
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes.
If this is not necessary for your PR, please include the following in your PR description:
NO_CHANGELOG=true
and rerun the job.

@hectorcast-db hectorcast-db requested a review from tanmay-db April 7, 2026 09:10
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 1380
  • Commit SHA: da54d75476323ee0885c8948321bb7e4c2cb6152

Checks will be approved automatically on success.

@hectorcast-db hectorcast-db enabled auto-merge April 9, 2026 09:18
@hectorcast-db hectorcast-db added this pull request to the merge queue Apr 9, 2026
Merged via the queue into main with commit 1971711 Apr 9, 2026
11 of 13 checks passed
@hectorcast-db hectorcast-db deleted the stack/runtime-native-unified branch April 9, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants